﻿using System.Collections.Generic;
using Idea.Query.Interface;

namespace Idea.Repository.Interface
{
    public interface IQueryExecuter<T>
    {
        long Count(IQueryObject<T> query);
        IEnumerable<T> Fetch(IQueryObject<T> query);
        T FetchOne(IQueryObject<T> query);
    }
}
